package com.yi.service;

import java.util.List;

import com.yi.student.model.RewardAndPubnish;

public interface IRewardAndPubnishService {
	/**
	 * 添加奖惩信息
	 * @param rap
	 */
	public void addRap(RewardAndPubnish rap);
	
	/**
	 * 更新奖惩信息
	 * @param rap
	 */
	public  void updateRap(RewardAndPubnish rap);
	
	/**
	 * 删除奖惩信息
	 * @param id
	 */
	public void deleRap(int id);
	
	/**
	 * 根据id 查询奖惩信息
	 * @param id
	 * @return
	 */
	public RewardAndPubnish loadById(int id);
	
	/**
	 * 查询某个学生的奖励信息
	 * @param uid
	 * @return
	 */
	public List<RewardAndPubnish> findRewardStudent();  
	
	/**
	 * 查询某个学生的惩处信息
	 * @param uid
	 * @return
	 */
	public List<RewardAndPubnish> findPubnishStudent();  
	
	/**
	 * 查询某个学生的奖励信息
	 * @param uid
	 * @return
	 */
	public List<RewardAndPubnish> findRewardStudentById(int uid);  
	
	/**
	 * 查询某个学生的惩处信息
	 * @param uid
	 * @return
	 */
	public List<RewardAndPubnish> findPubnishStudentById(int uid);  
	
	public List<RewardAndPubnish> listPad(int year , String semeter);
	
	public List<RewardAndPubnish> listPap(int year , String semeter);
	
	public List<RewardAndPubnish> listRadAndRpd(String xh);
}
